package com.ktwlrj.securitycenter.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ktwlrj.core.base.SuperEntity;
import com.ktwlrj.securityboot.autoconfigure.security.database.annotation.EncryptDecryptClass;
import com.ktwlrj.securityboot.autoconfigure.security.database.annotation.EncryptDecryptField;
import com.ktwlrj.securityboot.autoconfigure.security.database.annotation.ShowProcessField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 * 特殊房屋对象实体类
 *
 * @author makejava
 * @since 2020-02-24 18:08:13
 */
@Getter
@Setter
@ToString
@EncryptDecryptClass
@TableName("fcjy_safe_special_target")
public class SafeSpecialTargetEntity extends SuperEntity {
    private static final long serialVersionUID = 718165658602026239L;

    @TableId
    private String specialTargetId;
    
    @ApiModelProperty(name = "scope", value = "范围(1.项目,2.销售证,3.栋,4.套)")     
    private Integer scope;
    
    @ApiModelProperty(name = "specialId", value = "特殊房屋交易 id")     
    private String specialId;
    
    @ApiModelProperty(name = "name", value = "名称(机构或人员或项目)")     
    private String name;
    
    @ApiModelProperty(name = "idcardType", value = "证件类型:10-身份证,11-组织机构代码,12-法人代码证,13-台胞证,14-台湾身份证,15-香港身份证,16-军官证,17-士官证,18-警官证,19-护照,20-澳门身份证,21-营业执照,22-统一社会信用代码,23-户口簿,99-其他")     
    private Integer idcardType;
    
    @ApiModelProperty(name = "idcard", value = "人员证件号码")
    @ShowProcessField(format = ShowProcessField.DEFAULT_CARD)
    private String idcard;

    @EncryptDecryptField
    @ApiModelProperty(name = "idcardEncry", value = "人员证件号码加密")     
    private String idcardEncry;
    
    @ApiModelProperty(name = "projectCode", value = "项目编号")     
    private String projectCode;
    
    @ApiModelProperty(name = "saleCertificateType", value = "权证件类型(1.预售证,2.现售证,3.不动产权证，4.不动产登记证明，5.产权证，6.备案证明）")     
    private Integer saleCertificateType;
    
    @ApiModelProperty(name = "saleCertificate", value = "权证号")     
    private String saleCertificate;
    
    @ApiModelProperty(name = "buildingNumber", value = "栋编号")     
    private String buildingNumber;
    
    @ApiModelProperty(name = "roomNumber", value = "房号")     
    private String roomNumber;
    
    @ApiModelProperty(name = "dataCode", value = "数据编码")     
    private String dataCode;
}